package com.lestv.httpUtil;

import java.util.Map;

public class HttpRequestParams {
	private String path;		//请求地址
	private String encoding;	//字符编码
	private String data;		//请求附带的参数 json格式的字符串
	private String errorinfo;	//错误消息
	private String method;		//请求方法 GET或POST
	private Map<String, String> params;
	
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getEncoding() {
		return encoding;
	}
	public void setEncoding(String encoding) {
		this.encoding = encoding;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public String getErrorinfo() {
		return errorinfo;
	}
	public void setErrorinfo(String errorinfo) {
		this.errorinfo = errorinfo;
	}
	public Map<String, String> getParams() {
		return params;
	}
	public void setParams(Map<String, String> params) {
		this.params = params;
	}
	public HttpRequestParams(String path, String encoding, String data) {
		this.path = path;
		this.encoding = encoding;
		this.data = data;
	}
	
	
}
